home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 1: Comms & Networking / Almathera Ten on Ten - Disc 1: Comms & Networking.iso / generalinfo / vikeybindings < prev    next >
Text File  |  1995-05-10  |  7KB  |  147 lines

  1.  
  2.  
  3. Vi's a general-purpose Unix editor <it's been ported to many other
  4. platforms>, and you're bound to run into it at some point on the Internet.
  5. So, here's a quick reference guide to the keystrokes needed, - more info
  6. can be obtained by 'man vi' at your Unix shell prompt.
  7.  
  8.  
  9.  
  10. command         description             flags (see below)
  11. ---------------+-----------------------+---------------------------------------
  12.         ^A      not defined
  13.         ^B      page backward                   FRNT
  14.         ^C      not defined
  15. count   ^D      scroll dn 1/2page
  16. count   ^E      scroll up
  17.         ^F      page forward                    FRNT
  18.         ^G      show file status         
  19. count   ^H      move left, like h       MVMT
  20.         ^I      not defined
  21. count   ^J      move down               MVMT            LNMD
  22.         ^K      not defined
  23.         ^L      redraw screen
  24. count   ^M      mv front next ln        MVMT    FRNT    LNMD
  25. count   ^N      move down               MVMT            LNMD
  26.         ^O      not defined
  27. count   ^P      move up                 MVMT            LNMD
  28.         ^Q      not defined
  29.         ^R      redraw screen
  30.         ^S      not defined
  31.         ^T      not defined
  32. count   ^U      scroll up 1/2page
  33.         ^V      not defined
  34.         ^W      not defined
  35.         ^X      not defined
  36. count   ^Y      scroll down
  37.         ^Z      not defined
  38.         ESC     not defined
  39.         ^\      not defined
  40.         ^]      keyword is tag
  41.         ^^      not defined
  42.         ^_      not defined
  43. count   SPC     move right,like l       MVMT
  44.         !  move run thru filter
  45.         "  key  select cut buffer
  46.          #      not defined
  47.          $      move to rear            MVMT    INCL
  48.          %      move to match           MVMT    INCL
  49.          &      not defined
  50.          ' key  move to a mark          MVMT    FRNT    LNMD    NREL
  51. count    (      mv back sentence        MVMT
  52. count    )      mv fwd sentence         MVMT
  53.          *      not defined
  54. count    +      mv front next ln        MVMT    FRNT    LNMD
  55. count    ,      reverse [fFtT] cmd      MVMT
  56. count    -      mv front prev ln        MVMT    FRNT    LNMD
  57.          .      repeat previous cmd
  58.          / text forward search          MVMT                    NREL
  59.          0      part of count?          MVMT
  60.          1      part of count
  61.          2      part of count
  62.          3      part of count
  63.          4      part of count
  64.          5      part of count
  65.          6      part of count
  66.          7      part of count
  67.          8      part of count
  68.          9      part of count
  69.          : text run single EX cmd
  70. count    ;      repeat [fFtT] cmd       MVMT
  71.          < move shift text left                                         SDOT
  72.          =      not defined
  73.          > move shift text right                                        SDOT
  74.          ? text backward search         MVMT                    NREL
  75.          @      not defined
  76. count    A inp  append at EOL                                           SDOT
  77. count    B      move back Word          MVMT
  78.          C inp  change to EOL                                           SDOT
  79.          D      delete to EOL                                           SDOT
  80. count    E      move end of Word        MVMT
  81. count    F key  move bk to char         MVMT
  82. count    G      move to line #          MVMT            LNMD    NREL
  83. count    H      move to home row                FRNT
  84. count    I inp  insert at front                                         SDOT
  85. count    J      join lines                                              SDOT
  86.          K      look up keyword
  87. count    L      move to last row                FRNT
  88.          M      move to mid row                 FRNT
  89.          N      reverse prev srch       MVMT
  90. count    O inp  insert above line                                       SDOT
  91.          P      paste before
  92.          Q      quit to EX mode
  93.          R inp  overtype                                                SDOT
  94. count    S inp  change lines
  95. count    T key  move bk to char         MVMT
  96.          U      Undo changes to current line
  97.          V      not defined
  98. count    W      move forward Word       MVMT
  99. count    X      delete to left                                          SDOT
  100. count    Y      yank text line
  101.          Z Z    save file & exit
  102.          [ [    move back section       MVMT            LNMD    NREL
  103.          \      not defined
  104.          ] ]    move fwd section        MVMT            LNMD    NREL
  105.          ^      move to front           MVMT
  106.          _      not defined
  107.          ` key  move to mark            MVMT                    NREL
  108. count    a inp  append at cursor                                        SDOT
  109. count    b      move back word          MVMT
  110.          c move change text                                             SDOT
  111.          d move delete op                                               SDOT
  112. count    e      move end word           MVMT
  113. count    f key  move fwd for char       MVMT
  114.          g      not defined
  115. count    h      move left               MVMT
  116. count    i inp  insert at cursor                                        SDOT
  117. count    j      move down               MVMT            LNMD
  118. count    k      move up                 MVMT            LNMD
  119. count    l      move right              MVMT
  120.          m key  define a mark
  121.          n      repeat prev srch        MVMT
  122. count    o inp  insert below line                                       SDOT
  123.          p      paste after
  124.          q      not defined
  125. count    r key  replace chars                                           SDOT
  126. count    s inp  subst N chars                                           SDOT
  127. count    t key  move fwd to char        MVMT
  128.          u      undo
  129.          v      not defined
  130. count    w      move fwd word           MVMT
  131. count    x      delete character                                        SDOT
  132.          y move yank text
  133.          z key  adjust scrn row  
  134. count    {      back paragraph          MVMT            LNMD
  135. count    |      move to column                                  NREL
  136. count    }      fwd paragraph           MVMT            LNMD
  137.          ~      upper/lowercase                                         SDOT
  138.         DEL     not defined
  139.  
  140. MVMT: can be used to define the extent of the ! < > c d y commands.
  141. FRNT: leaves the cursor at the front of the line.
  142. LNMD: when used with the ! < > c d y commands, whole lines will be yanked.
  143. NREL: "non-relative" movement command, saves previous location as mark ''
  144. SDOT: this command can be repeated by pressing the . key.
  145.  
  146.  
  147.